Component org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib
In bundle org.nuxeo.ecm.platform.routing.core
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib">
<require>
org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
</require>
<extension
target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
point="factoryBinding">
<factoryBinding name="ConditionalfolderFactory"
factoryName="SimpleTemplateFactory" targetType="ConditionalStepFolder">
<template>
<templateItem typeName="DocumentRouteStep" id="routeDocStep"
title="DecisionalStep" description="Decisional step" />
<templateItem typeName="StepFolder" id="option1"
title="Option 1" description="Branch executed if option1 is chosen" />
<templateItem typeName="StepFolder" id="option2" title="Option 2"
description="Branch executed if option2 is chosen" />
</template>
</factoryBinding>
</extension>
</component>